package com.example.aigc_education.mapper;

import com.example.aigc_education.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.aigc_education.domain.po.SelectStuByTeacherPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 23918
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2024-05-22 20:25:46
* @Entity com.example.aigc_education.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

        List<SelectStuByTeacherPO> selectByCourseId(@Param("courseId") Long courseId, @Param("userId") Long userId);

        List<SelectStuByTeacherPO> selectByClassInfo(String faulty, String major, String className, Long userId);
}




